home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 July: Mac OS SDK / Dev.CD Jul 00 SDK2.toast / Development Kits / Cross Platform / QuickTime 4.1.2 Windows SDK / CIncludes / PLStringFuncs.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-04-12  |  2.3 KB  |  123 lines  |  [TEXT/R*ch]

  1. /*
  2.      File:        PLStringFuncs.h
  3.  
  4.      Contains:    xxx put contents here xxx
  5.  
  6.      Version:    Technology:    xxx put version here xxx
  7.                  Release:    QuickTime 4.1
  8.  
  9.      Copyright:    (c) 1999 by Apple Computer, Inc., all rights reserved.
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17. #ifndef __PLSTRINGFUNCS__
  18. #define __PLSTRINGFUNCS__
  19.  
  20. #ifndef __MACTYPES__
  21.     #include <MacTypes.h>
  22. #endif
  23.  
  24.  
  25.  
  26.  
  27. #if PRAGMA_ONCE
  28. #pragma once
  29. #endif
  30.  
  31. #ifdef __cplusplus
  32. extern "C" {
  33. #endif
  34.  
  35. #if PRAGMA_IMPORT
  36. #pragma import on
  37. #endif
  38.  
  39. #if PRAGMA_STRUCT_ALIGN
  40.     #pragma options align=mac68k
  41. #elif PRAGMA_STRUCT_PACKPUSH
  42.     #pragma pack(push, 2)
  43. #elif PRAGMA_STRUCT_PACK
  44.     #pragma pack(2)
  45. #endif
  46.  
  47. EXTERN_API( short )
  48. PLstrcmp                        (ConstStr255Param         str1,
  49.                                  ConstStr255Param         str2);
  50.  
  51. EXTERN_API( short )
  52. PLstrncmp                        (ConstStr255Param         str1,
  53.                                  ConstStr255Param         str2,
  54.                                  short                     num);
  55.  
  56. EXTERN_API( StringPtr )
  57. PLstrcpy                        (StringPtr                 str1,
  58.                                  ConstStr255Param         str2);
  59.  
  60. EXTERN_API( StringPtr )
  61. PLstrncpy                        (StringPtr                 str1,
  62.                                  ConstStr255Param         str2,
  63.                                  short                     num);
  64.  
  65. EXTERN_API( StringPtr )
  66. PLstrcat                        (StringPtr                 str1,
  67.                                  ConstStr255Param         str2);
  68.  
  69. EXTERN_API( StringPtr )
  70. PLstrncat                        (StringPtr                 str1,
  71.                                  ConstStr255Param         str2,
  72.                                  short                     num);
  73.  
  74. EXTERN_API( Ptr )
  75. PLstrchr                        (ConstStr255Param         str1,
  76.                                  short                     ch1);
  77.  
  78. EXTERN_API( Ptr )
  79. PLstrrchr                        (ConstStr255Param         str1,
  80.                                  short                     ch1);
  81.  
  82. EXTERN_API( Ptr )
  83. PLstrpbrk                        (ConstStr255Param         str1,
  84.                                  ConstStr255Param         str2);
  85.  
  86. EXTERN_API( short )
  87. PLstrspn                        (ConstStr255Param         str1,
  88.                                  ConstStr255Param         str2);
  89.  
  90. EXTERN_API( Ptr )
  91. PLstrstr                        (ConstStr255Param         str1,
  92.                                  ConstStr255Param         str2);
  93.  
  94. EXTERN_API( short )
  95. PLstrlen                        (ConstStr255Param         str);
  96.  
  97. EXTERN_API( short )
  98. PLpos                            (ConstStr255Param         str1,
  99.                                  ConstStr255Param         str2);
  100.  
  101.  
  102.  
  103. #if PRAGMA_STRUCT_ALIGN
  104.     #pragma options align=reset
  105. #elif PRAGMA_STRUCT_PACKPUSH
  106.     #pragma pack(pop)
  107. #elif PRAGMA_STRUCT_PACK
  108.     #pragma pack()
  109. #endif
  110.  
  111. #ifdef PRAGMA_IMPORT_OFF
  112. #pragma import off
  113. #elif PRAGMA_IMPORT
  114. #pragma import reset
  115. #endif
  116.  
  117. #ifdef __cplusplus
  118. }
  119. #endif
  120.  
  121. #endif /* __PLSTRINGFUNCS__ */
  122.  
  123.